package com.fowo.api.syncLingxingApi.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fowo.api.sys.entity.SysFile;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@DS("ds24")
@Data
@TableName(value = "tmp_sync_lingxing_to_aux_list_aux_relation_product", autoResultMap = true)
public class TmpSyncLingxingToAuxListAuxRelationProduct extends TmpSyncLingxingToAuxBase implements Serializable {
    private static final long serialVersionUID = 1L;

    public TmpSyncLingxingToAuxListAuxRelationProduct() {
        super();
    }

    @Schema(title = "父级id")
    @TableField("parent_id")
    @JSONField(name = "parent_id")
    private Long parentId;

    @Schema(title = "产品id")
    @TableField("pid")
    @JSONField(name = "pid")
    private Integer pid;


    @Schema(title = "产品名称")
    @TableField("product_name")
    @JSONField(name = "product_name")
    private String productName;

    @Schema(title = "数量")
    @TableField("quantity")
    @JSONField(name = "quantity")
    private Integer quantity;



    @Schema(title = "辅料名称")
    @TableField("accessories_name_mirror")
    private String accessoriesNameMirror;

    @Schema(title = "辅料Sku")
    @TableField("accessories_sku_mirror")
    private String accessoriesSkuMirror;

    @Schema(title = "辅料成本")
    @TableField("purchase_cost_mirror")
    private BigDecimal purchaseCostMirror;


}



